package club.dataresources.mapper;

import club.dataresources.entity.ServiceMenuDetail;
import club.dataresources.entity.ServiceMenuDetailExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ServiceMenuDetailMapper {
    long countByExample(ServiceMenuDetailExample example);

    int deleteByExample(ServiceMenuDetailExample example);

    int deleteByPrimaryKey(Integer smId);

    int insert(ServiceMenuDetail record);

    int insertSelective(ServiceMenuDetail record);

    List<ServiceMenuDetail> selectByExample(ServiceMenuDetailExample example);

    ServiceMenuDetail selectByPrimaryKey(Integer smId);

    int updateByExampleSelective(@Param("record") ServiceMenuDetail record, @Param("example") ServiceMenuDetailExample example);

    int updateByExample(@Param("record") ServiceMenuDetail record, @Param("example") ServiceMenuDetailExample example);

    int updateByPrimaryKeySelective(ServiceMenuDetail record);

    int updateByPrimaryKey(ServiceMenuDetail record);
}